package chapter_12_flyweight.classic;

/**
 * Created by CharloYao on 2017/10/13.
 * 具体享元角色
 */
public class ConcreteFlyweight1 extends Flyweight {

    //接受外部状态
    public ConcreteFlyweight1(String extrinsic) {
        super(extrinsic);
    }

    //根据外部状态进行业务逻辑处理
    @Override
    public void operation() {
        //业务操作
    }
}
